package com.itc.dispatch.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itc.common.core.domain.R;
import com.itc.dispatch.domain.AlarmCentre;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itc.dispatch.domain.AlarmOperatingRecord;
import com.itc.dispatch.domain.dto.AlarmCentreDto;
import com.itc.dispatch.domain.dto.AlarmCentrePageDto;
import com.itc.dispatch.domain.dto.AlarmOperatingRecordPageDto;
import com.itc.dispatch.domain.dto.AlarmTimeDto;
import com.itc.dispatch.domain.vo.AlarmCentreFlightVo;
import com.itc.dispatch.domain.vo.StatusStatesVo;
import com.itc.dispatch.domain.vo.TypeStatesVo;
import java.util.List;

/**
* @author 智少
* @description 针对表【alarm_centre】的数据库操作Service
* @createDate 2024-07-29 11:49:11
*/
public interface AlarmCentreService extends IService<AlarmCentre> {

    R<Page<AlarmCentre>> getPage(Page page, AlarmCentrePageDto pageDto);

    R operation(AlarmCentreDto dto);

    R<List<StatusStatesVo>> dataListGrade(AlarmTimeDto dto);

    R<List<TypeStatesVo>> dataListType(AlarmTimeDto dto);

    R<Page<AlarmOperatingRecord>> getOperationPage(Page page, AlarmOperatingRecordPageDto dto);

    List<AlarmCentreFlightVo> getFlightAlarmList(List<String> flightIds);

    R<AlarmCentre> getAlarmDetail(Long alarmId);
}
